package com.example.springbootsfzy.service.liujinping;

import com.example.springbootsfzy.domain.Consultants;
import com.example.springbootsfzy.domain.QaReplies;
import com.example.springbootsfzy.domain.SelectedArticles;
import com.example.springbootsfzy.mapper.SearchConsultantMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SearchConsultantService {
    @Autowired
    private SearchConsultantMapper searchConsultantMapper;

    public List<Consultants> searchConsultants(String keyword) {
        return searchConsultantMapper.searchConsultants(keyword);
    }

    public List<SelectedArticles> searchSelectedArticles(String keyword) {
        return searchConsultantMapper.searchSelectedArticles(keyword);
    }

    public List<QaReplies> searchQaReplies(String keyword) {
        return searchConsultantMapper.searchQaReplies(keyword);
    }
}
